import request from '@/utils/request'

// 查询技术报告管理列表
export function listReport(query) {
  return request({
    url: '/outcome/report/list',
    method: 'get',
    params: query
  })
}

// 查询技术报告管理详细
export function getReport(reportId) {
  return request({
    url: '/outcome/report/' + reportId,
    method: 'get'
  })
}

// 新增技术报告管理
export function addReport(data) {
  return request({
    url: '/outcome/report',
    method: 'post',
    data: data
  })
}

// 修改技术报告管理
export function updateReport(data) {
  return request({
    url: '/outcome/report',
    method: 'put',
    data: data
  })
}

// 删除技术报告管理
export function delReport(reportId) {
  return request({
    url: '/outcome/report/' + reportId,
    method: 'delete'
  })
}

export function getReportTrack(reportId) {
  return request({
    url: '/outcome/report/report/' + reportId,
    method: 'get'
  })
}
